package com.linkhub.oms.admin.common.enums;

import com.linkhub.oms.common.enums.IEnumConvert;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @Description: OssObjectModuleEnum
 * @Author: echo
 * @Date: 2024/5/9 20:36
 * @Version: 1.0
 */
@Getter
@AllArgsConstructor
public enum OssObjectModuleEnum implements IEnumConvert<Integer> {

    LOCAL_PRODUCT_IMAGE(1, "local_product", "本地商品图片模块"),
    PACKAGING_MATERIAL_IMAGE(2, "packaging_material", "包材图片模块"),
    PICK_UP_ORDER_ATTACHMENT(3, "pick_up_goods", "提货附件模块"),
    USER_RECHARGE_ATTACHMENT(4, "user_recharge", "用户充值模块"),
    ORDER_PACKAGE_FILE(5, "order_package", "装箱单模块"),
    WEIGHING_MACHINE_IMAGE(6, "weighing_machine", "称重机器图片模块"),
    USER_MESSAGE(7, "user_message", "用户信息模块"),
    ;

    private final Integer type;
    private final String path;
    private final String desc;

    @Override
    public Integer getCode() {
        return this.getType();
    }
}
